package com.telit.firecommand.model.saida;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;


/**
 * 赛达火情卫星上报Request
 *
 * @author yuezhuang
 * @date 2022-09-19
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@ApiModel(value = "AddFireBySatelliteRequest", description = "赛达火情卫星上报Request")
public class AddFireBySatelliteRequest implements Serializable {

    private static final long serialVersionUID = -1L;

    /* 火点唯一标识 */
    @ApiModelProperty(value = "ID")
    private Long id;

    /* 火情唯一标识 */
    @ApiModelProperty(value = "火情唯一标识")
    private Long hotId;

    /* 内容id */
    @ApiModelProperty(value = "内容id")
    private String contentId;

    /* 经度 */
    @ApiModelProperty(value = "经度")
    private String longitude;

    /* 纬度 */
    @ApiModelProperty(value = "纬度")
    private String latitude;

    /* 所属地址信息 */
    @ApiModelProperty(value = "所属地址信息")
    private String detailPlace;

    /* 火点所在省 */
    @ApiModelProperty(value = "火点所在省")
    private String province;

    /* 火点所在市 */
    @ApiModelProperty(value = "火点所在市")
    private String city;

    /* 火点所在区县 */
    @ApiModelProperty(value = "火点所在区县")
    private String district;

    /* 火点所在区县编号 */
    @ApiModelProperty(value = "火点所在区县编号")
    private String districtId;

    /* 火点截图 */
    @ApiModelProperty(value = "火点截图")
    private String picture;

    /* 有无云烟 */
    @ApiModelProperty(value = "有无云烟")
    private String hasCloud;

    /* 是否发送 */
    @ApiModelProperty(value = "是否发送")
    private String isSend;

    /* 林火所在地类 */
    @ApiModelProperty(value = "林火所在地类")
    private String holtKind;

    /* 火场面积(平方公里) */
    @ApiModelProperty(value = "火场面积(平方公里)")
    private String fireArea;

    /* 来源卫星 */
    @ApiModelProperty(value = "来源卫星")
    private String satelliteName;

    /* 标识卫星发现 */
    @ApiModelProperty(value = "标识卫星发现")
    private Integer isSatellite;

    /* 火点强度 */
    @ApiModelProperty(value = "火点强度")
    private Integer frp;

    /* 火点温度 */
    @ApiModelProperty(value = "火点温度")
    private String pointTemperature2;

    /* 是否连续火事件 */
    @ApiModelProperty(value = "是否连续火事件")
    private String isConsecutiveFire;

    /* 卫星数据接收的时间 */
    @ApiModelProperty(value = "卫星数据接收的时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date receiveTime;

    /* 卫星火情上报时间 */
    @ApiModelProperty(value = "卫星火情上报时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date satelliteReportTime;

    @ApiModelProperty(value = "radius")
    private String radius;

    @ApiModelProperty(value = "conf")
    private String conf;

}
